import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
import { NavBar, Form, Field, Button, Tabbar, TabbarItem, Search, Icon, Cell, CellGroup, DropdownMenu, DropdownItem, List, Swipe, SwipeItem, Lazyload, Picker, IndexBar, IndexAnchor } from 'vant'

Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(Picker)
Vue.use(Lazyload)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(List)

Vue.use(DropdownMenu)
Vue.use(DropdownItem)

Vue.use(Cell)
Vue.use(CellGroup)

Vue.use(Icon)

Vue.use(Search)

Vue.use(Tabbar)
Vue.use(TabbarItem)

Vue.use(Button)

Vue.use(Form)
Vue.use(Field)

Vue.use(NavBar)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
